package org.RSG.Interface;

import javax.swing.*;

import java.awt.*;
import org.RSG.Resources.Icons;

public class Tools
{
	public JInternalFrame window;
	private ToolButton pencil;
	private ToolButton picker;
	private ToolButton floodfill;
	public Tools()
	{
		Icons icons = new Icons();
		this.window = new JInternalFrame("Tools", false, false, false, false);
		this.window.setPreferredSize(new Dimension(85, 300));
		Container content = this.window.getContentPane();
		content.setLayout(new FlowLayout());
		this.pencil = new ToolButton(0, icons.GetIcon(3));
		content.add(this.pencil);
		
		this.picker = new ToolButton(1, icons.GetIcon(4));
		content.add(this.picker);
		
		this.floodfill = new ToolButton(2, icons.GetIcon(5));
		content.add(this.floodfill);
		
		content.add(new JLabel("          "));
		
		content.add(new CChooser());
		this.window.pack();
		this.window.setVisible(true);
	}
}